// 配置类型定义

export interface MCPServerConfig {
  name: string;
  command: string;
  cwd?: string;
  enabled: boolean;
  description?: string;
}

export interface BraveSearchConfig {
  apiKey: string;
}

export interface MCPConfig {
  servers: MCPServerConfig[];
}

export interface AppConfig {
  enableTools: boolean;
  maxTokens?: number;
  temperature?: number;
  streamOutput: boolean;
  showThinking: boolean;
  autoSave: boolean;
  saveInterval: number; // 分钟
}

export interface RootConfig {
  braveSearch: BraveSearchConfig;
  mcp: MCPConfig;
  app: AppConfig;
}
